html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
}
/*顶部黑色信息条*/
.top-bar {
    min-height: 34px;
    background-color: #222;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-align: center;
}
.divider {
    margin: 0 10px;
}
/*导航栏*/
.navbar {
    padding-top: 25px;
    padding-bottom: 25px;
}
.navbar .container{
    max-width:1200px;
}
.hero-content{
position:relative;
z-index:2;
}
/*导航栏logo字体*/
.navbar-brand{
font-size:32px !important;
font-weight:700;
letter-spacing:1px;
color:black !important;
}
/*导航栏菜单字体*/
.nav-link{
font-size:18px;
font-weight:500;
letter-spacing:1.5px;
margin-left:20px;
color:rgb(0, 0, 0) !important;
}
/*导航栏ORDER ONLINE按钮*/
.navbar .btn{
    background:#222;
    color:white !important;
    padding:14px 32px;
    border-radius:40px;
    font-size:14px;
    font-weight:600;
    letter-spacing:2px;
    border:none;
    box-shadow:0 8px 20px rgba(0,0,0,0.18);
    transition:all .3s ease;
}
.navbar .btn:hover{
    background:#000;
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(0,0,0,0.25);
}
/*所有导航链接*/
.navbar a {
    color: #222;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
}
/*导航电脑适配*/
@media(min-width:992px){
    .hero-content{
padding-top:80px;
}
.navbar-collapse{
background:transparent !important;
padding:0;
margin:0;
width:auto;
box-shadow:none;important;
}
.navbar{
background:transparent !important;
}
}

/*导航手机适配*/
@media(max-width:991px){
.navbar{
padding-top:15px;
padding-bottom:15px;
}
}
.navbar-brand{
font-size:28px;
}
.nav-link{
margin-left:0;
padding:12px 0;
}
.navbar-collapse{
    background:rgba(255,255,255,0.96);
    width:240px;
    margin-left:auto;
    margin-top:15px;
    padding:25px 20px;
    border-radius:18px;
    box-shadow:
    0 15px 40px rgba(0,0,0,0.15);
}
.navbar-nav{
    gap:10px;
}
.nav-link{
    color:#222 !important;
    font-size:14px;
    letter-spacing:2px;
    padding:12px 0;
}
.navbar .btn{
    width:100%;
    margin-top:15px;
}
.navbar-toggler{
border:1px solid rgba(255,255,255,0.5);
padding:8px 12px;
border-radius:12px;
}
.navbar-toggler{
    border:2px solid #222;
    padding:10px 12px;
    border-radius:14px;
}
.navbar-toggler-icon{
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23222222' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/*首页背景*/
.hero {
    width: 100%;
    height: 700px;
    background-color: #f5d76e;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*背景图片*/
.hero-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}
/*背景上方文字*/
.hero-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/*HAND CRAFTED文字*/
.hero-small-title {
    color: black;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 5px;
    margin-bottom: 20px;
}
/*Amorino Gelato Ice Cream h1 标题*/
.hero-content h1 {
    color: black;
    font-size: clamp(50px, 4vw, 90px);
    line-height: 0.95;
    font-weight: 700;
    max-width: 1400px;
    margin: 0;
    position: relative;
    z-index: 3;
}
/*online order按钮*/
.hero-button {
    display: inline-block;
    margin-top: 50px;
    padding: 14px 30px;
    border: 1px solid black;
    color: black;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    position: relative;
    z-index: 3;
    transition: 0.3s;
}
.hero-button:hover {
    background-color: white;
    color: #222;
}
/*背景图下方about模块*/
.split-section {
    display: flex;
    min-height: 520px;
    background: #fff7f0;
}
.split-image {
    width: 50%;
}
.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.split-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 70px;
}
.split-content h2 {
    font-size: 50px;
    margin-bottom: 25px;
}
.split-content p {
    max-width: 450px;
    line-height: 1.8;
    margin-bottom: 30px;
}
.outline-button {
    display: inline-block;
    border: 2px solid #222;
    color: #222;
    padding: 14px 30px;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
}
.outline-button:hover {
    background: #222;
    color: white;
}
/*gallery模块*/
.gallery {
    padding: 80px 5%;
    text-align: center;
    background: white;
}
.gallery h2 {
    font-size: 60px;
}
.gallery>p {
    margin: 10px 0 40px;
    color: #777;
}
.gallery-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 10px;
}
.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /*图片保持正方形*/
    object-fit: cover;
    /*自动裁剪不变形*/
}
@media (max-width: 768px) {
    .top-bar {
        min-height: auto;
        padding: 9px 15px;
        font-size: 10px;
        line-height: 1.6;
        flex-wrap: wrap;
    }
    .divider {
        margin: 0 7px;
    }
    .navbar {
        height: auto;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
        text-align: center;
    }
 /*把Logo放到最上面*/
    .logo {
        grid-row: 1;
        font-size: 25px !important;
        justify-self: center;
    }
    .nav-left {
        grid-row: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }
    .nav-right {
        grid-row: 3;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }
    .navbar a {
        font-size: 11px;
    }
    .order-btn {
        padding: 11px 16px;
    }
    .hero {
        height: 560px;
        min-height: 560px;
    }
    .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .hero-content {
        padding: 30px 20px;
    }
    .hero-small-title {
        font-size: 13px;
        letter-spacing: 3px;
        margin-bottom: 15px;
    }
    .hero-content h1 {
        font-size: clamp(38px, 10vw, 60px);
        line-height: 1.05;
        max-width: 600px;
        padding: 0 10px;
    }
    .hero-button {
        margin-top: 35px;
        padding: 12px 22px;
        font-size: 11px;
    }
    .split-section {
        flex-direction: column;
        min-height: auto;
    }
    .split-image,
    .split-content {
        width: 100%;
    }
    .split-image {
        height: 400px;
    }
    .split-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .split-content {
        padding: 55px 30px;
    }
    .split-content h2 {
        font-size: 38px;
        margin-bottom: 20px;
    }
    .split-content p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 25px;
    }
    .outline-button {
        padding: 12px 24px;
        font-size: 11px;
    }
    .gallery {
        padding: 60px 5%;
    }
    .gallery h2 {
        font-size: 42px;
        margin-bottom: 30px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/*评论区*/
.reviews {
    background-color: #FFF7F0;
    color: black;
    padding: 80px 10%;
    text-align: center;
}
.reviews h2 {
    font-size: 30px;
    letter-spacing: 4px;
    margin-bottom: 50px;
}
.review-box {
    display: flex;
    justify-content: center;
    gap: 80px;
}
.review-item {
    max-width: 320px;
}
.stars {
    color: #d4a96a;
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.review-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
}
.review-item h4 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
    color: #ffffff;
}
@media (max-width: 768px) {
    .review-box {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .reviews {
        padding: 60px 25px;
    }
}
/*contact模块*/
.footer {
    background-color: #222;
    color: white;
    padding: 70px 7%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin: 0;
}
.footer-item {
    /* 防止某些内容超出 */
    min-width: 0;
}
.footer h3 {
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.footer a,
.footer p {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    text-decoration: none;
}
.footer a:hover {
    opacity: 0.7;
}
/*contact us手机端*/
@media (max-width: 768px) {
    .footer {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 50px 30px;
    }
}
/* 地图模块 */
.map-section {
    width: 100%;
    height: 450px;
}
.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
/* 版权模块 */
.copyright {
    margin: 0;
    background: #222;
    color: #888;
    text-align: center;
    padding: 25px;
    border-top: 1px solid #444;
    font-size: 12px;
}

/*ABOUT独立页面*/
.page-hero {
    min-height: 480px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 50px 20px;
}
.about-page-hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.30),
            rgba(0, 0, 0, 0.30)),
        url("../images/background image.jpeg");
}
/*OUR STORY*/
.page-hero-content p {
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 15px;
}
/*ABOUT US*/
.page-hero-content h1 {
    font-size: clamp(55px, 8vw, 110px);
    line-height: 1;
    margin-bottom: 20px;
}
.page-hero-content span {
    font-size: 17px;
}

.about-detail {
    display: flex;
    min-height: 650px;
    background-color: #fff4ec;
}
/*About 左边图*/
.about-detail-image {
    width: 50%;
}
.about-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*About右边文字*/
.about-detail-content {
    width: 50%;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/*AMORINO GELATO 小标题*/
.section-small-title {
    color: #e65a7a;
    letter-spacing: 4px;
    font-size: 13px;
    margin-bottom: 15px;
}
/*A Sweet Moment in San Francisco 大标题*/
.about-detail-content h2 {
    font-size: 50px;
    line-height: 1.1;
    margin-bottom: 30px;
}
/*About文字*/
.about-detail-content p {
    max-width: 570px;
    line-height: 1.8;
    margin-bottom: 18px;
}
/*WHAT WE LOVE 区域*/
.values-section {
    background-color: white;
    padding: 100px 6%;
}
.section-title {
    text-align: center;
    margin-bottom: 55px;
}
.section-title p {
    color: #e65a7a;
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 12px;
}
.section-title h2 {
    font-size: 48px;
}
/*三个特点*/
.values-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
/* 单独一个卡片 */
.value-card {
    padding: 40px 30px;
    border-top: 1px solid #222;
}
.value-number {
    color: #e65a7a;
    font-size: 14px;
    margin-bottom: 35px;
}
/* QUALITY / FLAVOR / EXPERIENCE文字*/
.value-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
}
/*小字*/
.value-card p {
    line-height: 1.7;
}

/*手机版*/
@media (max-width: 768px) {
    .page-hero {
        min-height: 380px;
    }
    .about-detail {
        flex-direction: column;
    }
    .about-detail-image,
    .about-detail-content {
        width: 100%;
    }
    .about-detail-image {
        height: 430px;
    }
    .about-detail-content {
        padding: 60px 30px;
    }
    .about-detail-content h2 {
        font-size: 38px;
    }
    /* 三个理念变成一列 */
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/*GALLERY独立页面*/
.page-hero {
    min-height: 580px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 50px 20px;
}
/*Gallery背景图*/
.gallery-page-hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.30),
            rgba(0, 0, 0, 0.30)),
        url("..//images/gallery hero.jpeg");
}
.page-hero-content p {
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 15px;
}
.page-hero-content h1 {
    font-size: clamp(55px, 8vw, 110px);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 4px;
}
.page-hero-content span {
    font-size: 17px;
    line-height: 1.6;
}
/*Gallery页放图部分*/
.gallery-page {
    padding: 100px 6%;
    background-color: white;
}
.section-title {
    text-align: center;
    margin-bottom: 55px;
}
.section-title p {
    color: #e65a7a;
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 12px;
}
.section-title h2 {
    font-size: 48px;
    line-height: 1.2;
}
/*Gallery图片*/
.gallery-page-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.gallery-photo {
    overflow: hidden;
    background-color: #f4f0eb;
}
.gallery-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;

    transition: transform 0.4s ease;
}
/*鼠标放到图片上*/
.gallery-photo:hover img {
    transform: scale(1.05);
}
/* Gallery底部FIND YOUR FAVORITE区域*/
.gallery-message {
    min-height: 450px;
    background-color: #f4c969;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}
/*FIND YOUR FAVORITE*/
.gallery-message>p {
    font-size: 13px;
    letter-spacing: 5px;
    margin-bottom: 18px;
}
/*Which Flavor Will You Choose?*/
.gallery-message h2 {
    font-size: clamp(48px, 7vw, 85px);
    line-height: 1;
    margin-bottom: 35px;
}
/*VISIT US黑色按钮*/
.dark-button {
    display: inline-block;
    background-color: #222;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    transition: 0.3s;
}
/*鼠标放在按钮上*/
.dark-button:hover {
    background-color: white;
    color: #222;
}
/* Footer*/
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 45px 20px;
}
.footer-logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #f5b6c5;
    margin-bottom: 15px;
}
footer p {
    font-size: 13px;
    color: #bbb;
    line-height: 1.8;
}
.copyright {
    margin-top: 20px;
}
/*平板 / 手机适配*/
@media (max-width: 768px) {
    .page-hero {
        min-height: 380px;
    }
    .page-hero-content h1 {
        font-size: 60px;
    }
    .gallery-page {
        padding: 70px 5%;
    }
    .section-title h2 {
        font-size: 38px;
    }
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .gallery-message {
        min-height: 380px;
    }
}
@media (max-width: 480px) {
    .gallery-page-grid {
        grid-template-columns: 1fr;
    }
    .page-hero-content h1 {
        font-size: 48px;
    }
    .section-title h2 {
        font-size: 32px;
    }
    .gallery-page-grid {
        gap: 15px;
    }
}

/* CONTACT US 独立页面*/
.contact-page-hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.30),
            rgba(0, 0, 0, 0.30)),
        url("..//images/background image.jpeg");
}
.contact-page {
    padding: 100px 6%;
    background-color: #fff4ec;
}
.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}
/* 左边店铺信息*/
.contact-page-info h2 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 45px;
}
.contact-detail {
    padding: 25px 0;
    border-top: 1px solid #222;
}
/* ADDRESS / HOURS */
.contact-detail h3 {
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
/* 地址和营业时间文字 */
.contact-detail p {
    line-height: 1.8;
    font-size: 16px;
}
/*右边 Contact Form*/
.contact-form-area {
    background-color: white;
    padding: 50px;
}
/* Send Us a Message */
.contact-form-area h2 {
    font-size: 38px;
    margin-bottom: 15px;
}
/* Form上面的说明文字 */
.contact-form-area>p {
    line-height: 1.7;
    margin-bottom: 35px;
    color: #555;
}
/*Form 表单整体*/
.contact-form {
    display: flex;
    flex-direction: column;
}
/* NAME / EMAIL / PHONE / MESSAGE */
.contact-form label {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    margin-top: 18px;
}
/*输入框和留言框*/
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #bbb;
    background-color: white;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}
/* 点击输入框的时候 */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #222;
}
/* Message 输入区域 */
.contact-form textarea {
    min-height: 150px;
    resize: vertical;

}
/* SEND MESSAGE 按钮 */
.contact-form button {
    margin-top: 25px;
    background-color: #222;
    color: white;
    border: none;
    padding: 16px 25px;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 2px;
    transition: 0.3s;
}
/* 鼠标放上去 */
.contact-form button:hover {
    background-color: #e65a7a;
}

/* Google Map */
.map-section {
    width: 100%;
    height: 500px;
}
.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
/* 地图下面粉色宣传区 */
.contact-visit {
    min-height: 450px;
    background-color: #f5b6c5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}
/* SEE YOU SOON */
.contact-visit>p {
    font-size: 13px;
    letter-spacing: 5px;
    margin-bottom: 18px;
}
/* Stop By for Something Sweet */
.contact-visit h2 {
    color: white;
    font-size: clamp(48px, 7vw, 85px);
    line-height: 1;
    margin-bottom: 35px;
}
/* 手机 / 平板适配 */
@media (max-width: 768px) {
    .contact-page {
        padding: 70px 5%;
    }
    .contact-page-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-page-info h2 {
        font-size: 40px;
    }
    .contact-form-area {
        padding: 35px 25px;
    }
    .map-section {
        height: 380px;
    }
    .contact-visit {
        min-height: 380px;
    }
}
/* 很小的手机 */
@media (max-width: 480px) {
    .contact-page-info h2 {
        font-size: 34px;
    }
    .contact-form-area h2 {
        font-size: 30px;
    }
    .map-section {
        height: 320px;
    }
}